package oop1;

/**
 * @author oldliu
 * @since 1.0
 */
public class Zhishu {
    public static void main(String[] args) {
        int num;
        int k;
        int j = 0;
        for (num = 10000; ; num++) {
            for (k = 2; num % k != 0 && k * k <num;k++);
            if (num < k * k) {
                System.out.println(num);
                j++;
            }
            if (j >= 10) {
                return;
            }

        }
    }
}